/**
 * Amkai Enterprise Solution (AES.) 
 * Copyright 2004-2008 by Amkai(TM), Inc.
 * www.amkai.com
 * 
 * Project: webservice
 * Package: com.amkai.aes.webservice.binary.objecthandler.scheduler
 * File: SchedulerSettingsJobHandler.java
 * Created: Dec 10, 2008 2:16:26 PM
 * Author: Laszlo Kovari 
 * 
 */
package com.amkai.aes.webservice.binary.objecthandler.scheduler;


import java.io.Serializable;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.amkai.aes.aescommon.AESSettings;
import com.amkai.aes.aescommon.service.result.SchedulerSettingsJobResult;
import com.amkai.aes.aescommon.service.scheduling.SchedulerSettingsJob;
import com.amkai.aes.webservice.binary.JobObjectHandler;

/**
 * #7961
 * SchedulerSettingsJobHandler
 * @author Laszlo Kovari
 * Description:
 *
 */
public class SchedulerSettingsJobHandler implements JobObjectHandler<SchedulerSettingsJob, Serializable, SchedulerSettingsJobResult>  {
	private static final Log logger = LogFactory.getLog(SchedulerSettingsJobHandler.class);

	/**
	 * #7961
	 * Overriden method
	 * @param job
	 * @param object
	 * @return
	 * @throws Exception
	 * @see com.amkai.aes.webservice.binary.JobObjectHandler#process(com.amkai.aes.aescommon.service.binary.job.Job, java.io.Serializable)
	 *
	 */
	public SchedulerSettingsJobResult process(SchedulerSettingsJob job, Serializable object) throws Exception {
		SchedulerSettingsJobResult schedulerSettingsJobResult = new SchedulerSettingsJobResult();
		schedulerSettingsJobResult.setDetailsForApptsForOtherBE(AESSettings.getServerSettings().getAmkaiOfficeConfig().getRuntime().getCustomization().isClientSchedulerSettingsShowDetailsForApptsForOtherBE());
		return schedulerSettingsJobResult;
	}

}
